<?php
$idEventSup=$_GET['SupEvents'];
$reqSupEvent=mysql_query("SELECT * FROM events_art WHERE idEvents='$idEventSup'") or die ("prob recup photos");
$dataSup=mysql_fetch_assoc($reqSupEvent);
	$TitreEventSup=$dataSup['TitreEvent'];
	$NomJour=$dataSup['NomJourEvent'];
	$Jour=$dataSup['JourEvent'];
	$Mois=$dataSup['MoisEvent'];
	$Annee=$dataSup['AnneeEvent'];


if(!isset($_GET['ValidEventSup'])){
	?>
	<div class="Border">
	<div class="Alerte" style="position:relative;">SOUHAITEZ-VOUS VRAIMENT SUPPRIMER CET EVENEMENT?</div>
	<table width="461" border="0" cellspacing="0" cellpadding="0" class="PresentationCompte">
	<tr style="">
     <td  style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; font-weight:bold; ">
	 <?php echo $NomJour." ".$Jour."/".$Mois."/".$Annee; ?>
	 <?php echo $TitreEventSup; ?></td>
	  <td style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; "></td>
	<td style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; ">&nbsp;</td>
	<td width="64" style="border-bottom:1px solid #CCCCCC; padding:0 0 5px 0; ">
	</td>
	<td style="border-bottom:1px solid #CCCCCC; padding:0 0 5px 0; "></td>
  </tr>
	<tr style="">
	  <td  style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; "><a href="index.php?page=gestionBookingMod&idArt=<?php echo $idArt; ?>">NON</a></td>
	  <td  style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; ">&nbsp;</td>
	  <td  style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; ">&nbsp;</td>
	  <td  style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; "><a href="index.php?page=gestionBookingMod&idArt=<?php echo $idArt; ?>&SupEvent=<?php echo $idEventSup; ?>&ValidEventSup=ok">OUI</a></td>
	  <td  style="border-bottom:1px solid #CCCCCC; color:#4D4D4D; padding:0 0 5px 0; ">&nbsp;</td>
	</tr>
  </table>
  </div>
  <?php } ?>